﻿using MyCode.Project.Infrastructure.Enumeration;
using System;
using System.Collections.Generic;

namespace MyCode.Project.Domain.Businesses.BillKeeping
{
    /// <summary>
    /// 卡套数量记账 数据传输对象
    /// </summary>
    public class CardBookDto
    {
        /// <summary>
        /// 会员ID
        /// </summary>
        public Guid MemberId { get; set; }

        /// <summary>
        /// 商家ID
        /// </summary>
        public Guid MerchantId { get; set; }

        /// <summary>
        /// 加盟商/null为公司
        /// </summary>
        public Guid? CustomerId { get; set; }

        /// <summary>
        /// 发生操作方向
        /// </summary>
        public DirectFlag DirectFlag { get; set; }

        /// <summary>
        /// 发生数
        /// </summary>
        public int AccValue { get; set; }

        /// <summary>
        /// 卡券ID
        /// </summary>
        public Guid CardId { get; set; }
      
        /// <summary>
        /// 备注
        /// </summary>
        public string Note { get; set; }

        /// <summary>
        /// 业务类型
        /// </summary>
        public StockSheetType SheetType { get; set; }

        /// <summary>
		/// 业务单据号
		/// </summary>
		public string Sheet { get; set; }

        /// <summary>
        /// 业务单据ID
        /// </summary>
        public Guid SheetId { get; set; }

        /// <summary>
        /// 店铺ID
        /// </summary>
        public Guid? ShopId { get; set; }


        /// <summary>
        /// 分摊价
        /// </summary>           
        public decimal CalPrice { get; set; }
    }


}
